package com.woniu.outlet.redis.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

/**
 * @description:
 * @author: my
 * @time: 2021/4/20 15:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RedisHash
public class FundRedis {
    @Id
    private String code;
    private String data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
